.topBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(90deg, #ffffff, #f0f8ff);
  border-bottom: 1px solid #e6f2ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  color: #3498db;
  display: flex;
  align-items: center;
}

.logo span {
  margin-left: 10px;
}

.userMenu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.userInfo {
  display: flex;
  align-items: center;
  color: #2c3e50;
  font-weight: 500;
}

.logoutButton {
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.logoutButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .topBar {
    padding: 15px 20px;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .userMenu {
    gap: 15px;
  }
}